package com.ruoyi.project.datacollection.datasource.service;

import com.ruoyi.framework.web.domain.AjaxResult;
import com.ruoyi.project.datacollection.datasource.domain.Datasource;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.project.datacollection.datasource.domain.PageRes;
import oshi.jna.platform.mac.SystemB;

import javax.annotation.Resource;
import java.util.List;

/**
* @author lenovo
* @description 针对表【qrtz_datasource(数据源管理模块)】的数据库操作Service
* @createDate 2022-07-28 10:49:12
*/
public interface DatasourceService {


    /**
     * 插入一条记录
     * @param datasource
     * @return
     */
    AjaxResult insertData(Datasource datasource);

    AjaxResult selectDataById(Integer id);

    AjaxResult deleteBySourceId(Integer id);
}
